home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / areuh.tar / areuh / dump / err.h < prev    next >
C/C++ Source or Header  |  1990-10-10  |  5KB  |  128 lines

  1. /*
  2.  * Authors :
  3.  *   Pierre DAVID (pda@masi.ibp.fr or pda@frunip62.bitnet)
  4.  *   Janick TAILLANDIER
  5.  *
  6.  * This program can be freely used or distributed as long as this
  7.  * note is kept.
  8.  *
  9.  * This program is provided "as is".
  10.  */
  11.  
  12. /******************************************************************************
  13.  
  14.                            AREUH ASSEMBLER / LINKER
  15.  
  16.  
  17.                           ERROR NUMBERS DECLARATIONS
  18.  
  19. ******************************************************************************/
  20.  
  21.  
  22.  
  23.  
  24. /* FATAL ERRORS */
  25.  
  26. #define ERROPN  -1                                       /* A L */
  27.     /* system error opening file */
  28. #define ERRCLO  -2                                       /* A L */
  29.     /* system error closing file */
  30. #define ERRREW  -3                                       /* A */
  31.     /* system error on file at start of pass two */
  32. #define ERRWRT  -4                                       /* A L */
  33.     /* system error writing file */
  34. #define ERRRD   -5                                       /* A L */
  35.     /* system error reading file */
  36. #define ERRMEM  -6                                       /* A L */
  37.     /* not enough memory */
  38.  
  39. #define ERRLEX  -10                                      /* A */
  40.     /* invalid macro pseudo-op LEX or BIN */
  41. #define ERRPGS  -11                                      /* A */
  42.     /* invalid page size */
  43. #define ERRFLN  -12                                      /* A */
  44.     /* restricted label FiLeNd exists */
  45. #define ERRIFL  -13                                      /* A L */
  46.     /* invalid file name */
  47. #define ERRIMO  -14                                      /* A */
  48.     /* invalid macro-op xx in modular assembling */
  49. #define ERRVMD  -15                                      /* A */
  50.     /* value must be defined for xx */
  51.  
  52. #define ERRUSA  -20                                      /* A L */
  53.     /* usage: ass [ [-l] source_file ] */
  54.     /* usage: ald ... */
  55.  
  56. #define ERRNOA  -30                                      /* L */
  57.     /* file not output from aas */
  58. #define ERRICV  -31                                      /* L */
  59.     /* incompatible version */
  60.  
  61.  
  62.  
  63. /* NON FATAL ERRORS */
  64.  
  65. #define WRNEQU  10                                       /* A */
  66.     /* cannot resolve equate */
  67. #define WRNDUP  11                                       /* A L */
  68.     /* duplicate label */
  69. #define WRNLBL  12                                       /* A */
  70.     /* illegal label */
  71. #define WRNULB  13                                       /* A */
  72.     /* unrecognized label */
  73. #define WRNURF  14                                       /* L */
  74.     /* unresolved reference */
  75. #define WRNURL  15                                       /* L */
  76.     /* unresolved label */
  77.  
  78. #define WRNEXP  20                                       /* A */
  79.     /* illegal expression */
  80. #define WRNASC  21                                       /* A */
  81.     /* illegal ascii constant */
  82. #define WRNPAR  22                                       /* A */
  83.     /* mismatched parenthesis */
  84. #define WRNIHX  23                                       /* A */
  85.     /* illegal hexadecimal constant */
  86. #define WRNNUL  24                                       /* A */
  87.     /* null divisor */
  88. #define WRNIXP  25                                       /* A */
  89.     /* illegal exponentiation */
  90. #define WRNIBC  26                                       /* A */
  91.     /* illegal binary constant */
  92. #define WRNENA  27                                       /* A */
  93.     /* external references not allowed */
  94.  
  95. #define WRNYES  30                                       /* A */
  96.     /* GOYES or RTNYES required */
  97. #define WRNIDP  31                                       /* A */
  98.     /* illegal dp arithmetic value */
  99. #define WRNIPP  32                                       /* A */
  100.     /* illegal pointer position */
  101. #define WRNISB  33                                       /* A */
  102.     /* illegal status bit */
  103. #define WRNTFR  34                                       /* A */
  104.     /* illegal transfer value */
  105. #define WRNIWS  35                                       /* A */
  106.     /* illegal word select */
  107. #define WRNLST  36                                       /* A */
  108.     /* invalid LIST argument */
  109. #define WRNJVL  37                                       /* A L */
  110.     /* jump or value too large */
  111. #define WRNMLB  38                                       /* A */
  112.     /* missing label */
  113. #define WRNTST  39                                       /* A */
  114.     /* needs previous test instruction */
  115. #define WRNNHX  40                                       /* A */
  116.     /* non hexadecimal digits present */
  117. #define WRNTMA  41                                       /* A */
  118.     /* too many ascii characters present */
  119. #define WRNTMH  42                                       /* A */
  120.     /* too many hexadecimal digits present */
  121. #define WRNOPC  43                                       /* A */
  122.     /* unknown opcode */
  123.  
  124. #define WRNIIF  50                                       /* A */
  125.     /* invalid conditional structure */
  126.  
  127. extern void error() ;
  128.